package com.four.bergain.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author gs
 * @since 2021-12-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bar_bargain_property")
public class BargainProperty extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 规格参数编号
     */
    @TableId(value = "para_id", type = IdType.AUTO)
    private Integer paraId;

    /**
     * 规格名称
     */
    private String paraName;

    /**
     * 砍价商品编号
     */
    private Integer baId;

    /**
     * 图片
     */
    private String paraImg;

    /**
     * 砍价金额
     */
    private BigDecimal paraPrice;

    /**
     * 成本价
     */
    private BigDecimal paraCostPrice;

    /**
     * 原价
     */
    private BigDecimal paraOriginalPrice;

    /**
     * 限量
     */
    private Integer paraStock;

    /**
     * 重量
     */
    private Double paraWeight;

    /**
     * 体积
     */
    private Double paraVolume;


}
